package com.kongjs.application.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
@ToString
public class QueryGroupVO extends TreeVO<QueryGroupVO, Long> {
    private Long id;
    private Long parentId;
    private String groupName;
    private String remark;
    private Integer enabled;
    private List<QueryGroupVO> children;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateDate;
}
